package com.hjimi.ski.bean;

import java.util.List;

/**
 * Created By 孙岩
 * on 2023/7/31
 */
public class DeviceSystemBean {

    /**
     * code : 200
     * data : {"id":102,"created_at":"2023-05-13T18:36:14.801+08:00","updated_at":"2023-07-20T18:57:23.799+08:00","uuid":"dipperPKQ1.180729.001-","user_id":37,"is_show":1,"status":1,"lng":"0","lat":"0","country":"0","province":"0","city":"0","device_cate_id":3,"alias":"","ip":"","is_carousel":0,"is_gesture":1}
     * msg : 更新IP成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * id : 102
         * created_at : 2023-05-13T18:36:14.801+08:00
         * updated_at : 2023-07-20T18:57:23.799+08:00
         * uuid : dipperPKQ1.180729.001-
         * user_id : 37
         * is_show : 1
         * status : 1
         * lng : 0
         * lat : 0
         * country : 0
         * province : 0
         * city : 0
         * device_cate_id : 3
         * alias :
         * ip :
         * is_carousel : 0
         * is_gesture : 1
         */

        private int id;
        private String created_at;
        private String updated_at;
        private String uuid;
        private int user_id;
        private int is_show;
        private int status;
        private String lng;
        private String lat;
        private String country;
        private String province;
        private String city;
        private int device_cate_id;
        private String alias;
        private String ip;
        private int is_carousel;
        private int is_gesture;
        private int carousel_seconds;
        private BgmConfigBean bgmConfigBean;
        private TurnConfigBean turnConfigBean;

        public DataBean(int id, String ip, int is_carousel, int is_gesture, int carousel_seconds, BgmConfigBean bgmConfigBean, TurnConfigBean turnConfigBean) {
            this.id = id;
            this.ip = ip;
            this.is_carousel = is_carousel;
            this.is_gesture = is_gesture;
            this.carousel_seconds = carousel_seconds;
            this.bgmConfigBean = bgmConfigBean;
            this.turnConfigBean = turnConfigBean;
        }

        public TurnConfigBean getTurnConfigBean() {
            return turnConfigBean;
        }

        public void setTurnConfigBean(TurnConfigBean turnConfigBean) {
            this.turnConfigBean = turnConfigBean;
        }

        public BgmConfigBean getBgmConfigBean() {
            return bgmConfigBean;
        }

        public int getCarousel_seconds() {
            return carousel_seconds;
        }

        public void setCarousel_seconds(int carousel_seconds) {
            this.carousel_seconds = carousel_seconds;
        }

        public void setBgmConfigBean(BgmConfigBean bgmConfigBean) {
            this.bgmConfigBean = bgmConfigBean;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getUuid() {
            return uuid;
        }

        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public int getIs_show() {
            return is_show;
        }

        public void setIs_show(int is_show) {
            this.is_show = is_show;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public int getDevice_cate_id() {
            return device_cate_id;
        }

        public void setDevice_cate_id(int device_cate_id) {
            this.device_cate_id = device_cate_id;
        }

        public String getAlias() {
            return alias;
        }

        public void setAlias(String alias) {
            this.alias = alias;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public int getIs_carousel() {
            return is_carousel;
        }

        public void setIs_carousel(int is_carousel) {
            this.is_carousel = is_carousel;
        }

        public int getIs_gesture() {
            return is_gesture;
        }

        public void setIs_gesture(int is_gesture) {
            this.is_gesture = is_gesture;
        }

        public static class BgmConfigBean {
            /**
             * is_open : true
             * bgm_id : 1
             * bgm_url : https://ishow.qiniu.aiyuebang.com.cn/bgm/gsls.mp3
             * is_loop : true
             * music_list : [{"id":1,"title":"渔舟唱晚","url":"https://ishow.qiniu.aiyuebang.com.cn/bgm/yzcw.mp3","is_selected":true},{"id":2,"title":"高山流水","url":"https://ishow.qiniu.aiyuebang.com.cn/bgm/gsls.mp3","is_selected":false},{"id":3,"title":"广陵散","url":"https://ishow.qiniu.aiyuebang.com.cn/bgm/gsl.mp","is_selected":false}]
             */

            private boolean is_open;
            private int bgm_id;
            private String bgm_url;
            private boolean is_loop;

            public BgmConfigBean(boolean is_open, int bgm_id, String bgm_url, boolean is_loop) {
                this.is_open = is_open;
                this.bgm_id = bgm_id;
                this.bgm_url = bgm_url;
                this.is_loop = is_loop;
            }

            public boolean isIs_open() {
                return is_open;
            }

            public void setIs_open(boolean is_open) {
                this.is_open = is_open;
            }

            public int getBgm_id() {
                return bgm_id;
            }

            public void setBgm_id(int bgm_id) {
                this.bgm_id = bgm_id;
            }

            public String getBgm_url() {
                return bgm_url;
            }

            public void setBgm_url(String bgm_url) {
                this.bgm_url = bgm_url;
            }

            public boolean isIs_loop() {
                return is_loop;
            }

            public void setIs_loop(boolean is_loop) {
                this.is_loop = is_loop;
            }


        }

        public static class TurnConfigBean {
            private boolean is_open;
            private String start_time;
            private String end_time;
            private String weeks;

            public TurnConfigBean(boolean is_open, String start_time, String end_time, String weeks) {
                this.is_open = is_open;
                this.start_time = start_time;
                this.end_time = end_time;
                this.weeks = weeks;
            }

            public boolean isIs_open() {
                return is_open;
            }

            public void setIs_open(boolean is_open) {
                this.is_open = is_open;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getWeeks() {
                return weeks;
            }

            public void setWeeks(String weeks) {
                this.weeks = weeks;
            }
        }
    }
}
